package com.sumainfor.zuul.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.zuul.service.SysUserListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * <p>
 * 获取维修师傅的名字（根据SysuserId）
 * <p>
 *
 * @author: Mr.Wang
 * @create: 2019-04-16 16:18
 **/
@Controller
@RequestMapping("/provider/sysUserList")
public class SysUserListController {
    @Autowired
    SysUserListService sysUserListService;

    @ResponseBody
    @PostMapping("/getLoginName")
    public JsonResult getLoginName(@RequestBody Map<String,Object> params){
        return sysUserListService.getLoginName(params);
    }

}
